package com.htu.study.controller.user;

import com.htu.study.service.user.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class InfoController {
    @Autowired
    InfoService infoService;

    @GetMapping("/htu/user/account/info/")
    public Map<String,String>GetInfo(){
        return infoService.getInfo();
    }
}
